<?php
namespace common\modules\i18n\backend;

class Module extends \common\core\BackendModule
{
    public $alias = "@i18nBackend";
    public $controllerNamespace = 'common\modules\i18n\backend\controllers';
    
    /**
     * @inheritdoc
     * @var array
     * @see [[items]]
     */
    public $menuItems = [
        'i18n-source-message/index' => 'i18n消息源',
        'i18n-message/index' => 'i18n消息'
    ];

    public function init()
    {
        parent::init();
    }

    /**
     *
     * @param \yii\i18n\MissingTranslationEvent $event            
     */
    public static function missingTranslation($event)
    {
        // do something with missing translation
    }
}
